package com.java.data;
import java.text.DecimalFormat;

/**
 * 格式化double数值
 */
public class DoubleTest {
	public static void main(String args[]) {
		DecimalFormat df= new DecimalFormat("######0.00");  
		double a = 0.11341431;
		String s = df.format(a);
		System.out.println(s);
	}
}
